package com.elin.xiao

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.Banner
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.builder.SpringApplicationBuilder
import org.springframework.transaction.annotation.EnableTransactionManagement

@MapperScan("com.elin.xiao")
@SpringBootApplication
@EnableTransactionManagement
class SpringBootMybatisPlusApplication {

    static void main(String[] args) {
        new SpringApplicationBuilder()
                .bannerMode(Banner.Mode.OFF)
                .sources(SpringBootMybatisPlusApplication)
                .build()
                .run(args)
    }

}
